package com.brush.pig.mapper;

import com.brush.pig.domain.IotPig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.brush.pig.domain.req.pig.PigQueryReq;
import com.brush.pig.domain.req.sow.SowQueryInformationReq;
import com.brush.pig.domain.req.sow.SowUpdateEarCodeReq;
import com.brush.pig.domain.resp.pig.PigResp;
import com.brush.pig.domain.resp.sow.SowQueryFactoryResp;
import com.brush.pig.domain.resp.sow.SowQueryInformationResp;
import com.brush.pig.domain.resp.sow.SowQueryTransferResp;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
* @author ckq
* @description 针对表【iot_pig(猪只信息)】的数据库操作Mapper
* @createDate 2024-11-12 17:27:27
* @Entity com.brush.pig.domain.IotPig
*/
public interface IotPigMapper extends BaseMapper<IotPig> {

    List<PigResp> paginationQuery(@Param("req") PigQueryReq req);
    List<SowQueryInformationResp> getSowInformation(@Param("req") SowQueryInformationReq req);

    boolean updateEarCodeById(@Param(value = "req") SowUpdateEarCodeReq req);

    List<SowQueryTransferResp> getTransfer(@Param(value = "req") SowQueryInformationReq req);


}




